//////////////////////////////////////////
//
//	FlexInc. 2012
//	http://www.loziosecchi.it/flex_inc
//	http://twitter.com/loziosecchi
//
//////////////////////////////////////////

package flexInc.ane.android.calculatorLauncher;

import java.util.HashMap;
import java.util.Map;

import com.adobe.fre.FREContext;
import com.adobe.fre.FREFunction;

public class CalculatorLauncherExtensionContext extends FREContext {

	@Override
	public void dispose() {
		// does nothing
	}

	@Override
	public Map<String, FREFunction> getFunctions() {		
		// creates the map including the functions
		Map<String, FREFunction> functionMap = new HashMap<String, FREFunction>();
		functionMap.put("openCalculator", new CalculatorLuncherOpenFunction());
		
		return functionMap;
	}

}
